{extend name="homePage/userPage" /}
{block name="css"}
{/block}
{block name="main"}
    <div style="border:1px solid #ccc">
            <form class="form-horizontal" method="post" action="{:url('index/UserIndex/adduser')}" >
                <input type="hidden" name="class" value="{$classinfo.id}">
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">部门名称</label>
                    <div class="col-md-6 col-sm-10">
                      <input type="text" class="form-control name" id="exampleInputAccount4" name="classname" value="{$classinfo.name}" disabled>
                    </div>
                </div>
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">姓名</label>
                    <div class="col-md-6 col-sm-10">
                      <input type="text" class="form-control name" id="exampleInputAccount4" name="name" >
                    </div>
                </div>
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">联系方式</label>
                    <div class="col-md-6 col-sm-10">
                      <input type="text" class="form-control name" id="exampleInputAccount4" name="phone" >
                    </div>
                </div>
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">职位</label>
                    <select name="position" id="">
                        <option value="副局长">副局长</option>
                        <option value="文秘">文秘</option>
                        <option value="普通职员" selected>普通职员</option>
                    </select>
                </div>
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">输入密码</label>
                    <div class="col-md-6 col-sm-10">
                      <input type="password" class="form-control name" id="exampleInputAccount4" name="pass" >
                    </div>
                </div>
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">确认密码</label>
                    <div class="col-md-6 col-sm-10">
                      <input type="password" class="form-control name" id="exampleInputAccount4" name="repass" >
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                      <button type="submit" class="btn btn-default">提交</button>
                      <button type="reset" class="btn btn-default">重置</button>
                    </div>
                </div>
                </form>

    </div>

{/block}
{block name="block"}
{/block}

